package spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public final class SpringBeans {
    private static ApplicationContext context;
    static {
        context = new ClassPathXmlApplicationContext("beans.xml");
    }

    public static ApplicationContext getInstance() {
        return context;
    }
}
